package com.hava.cloud_study.entity;

import java.util.List;

/**
 * Created by zhanpeng on 09/10/2016.
 */
public class User {

    private int id;

    private String userName;

    private String corp;

    private List<Course> courses;


    public User(Integer id,String userName,String corp)
    {
        this.id = id;
        this.userName = userName;
        this.corp = corp;
    }

    public User(String userName,String corp)
    {
        this.userName = userName;
        this.corp = corp;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCorp() {
        return corp;
    }

    public void setCorp(String corp) {
        this.corp = corp;
    }

    public List<Course> getCourses() {
        return courses;
    }

    public void setCourses(List<Course> courses) {
        this.courses = courses;
    }
}
